<extend name='Index:index'/>
<block name='admin_right'>
	<div class="right col-md-9">
		<form action="<{:U('edit_handle')}>" method="post">
			<div class="form-group">
				<label for="">品牌名称</label>
				<input type="text"  name="name" class="form-control" style="width:250px;" value="<{$brandrow['name']}>">
			</div>
			<div class="form-group">
				<label for="">分类</label>
				<select name="class_id" id="">
					<volist name='classrows' id='classrow'>
						<if condition="$brandrow['class_id'] eq $classrow['id']">
							<option value="<{$classrow['id']}>" selected><{$classrow['name']}></option>
						<else/>
							<option value="<{$classrow['id']}>"><{$classrow['name']}></option>
						</if>
					</volist>
				</select>
			</div>
			<input type="hidden" name="id" value="<{$brandrow['id']}>">
			<button type="submit" class="btn btn-primary">修改</button>
		</form>
	</div>
</block>